package com.rui.patterns.builder.demo1;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : OfoBuilder
 * @createTime : [2022/2/21 14:09]
 * @description : [描述该类的功能]
 */

public class OfoBuilder extends Builder{

    @Override
    public void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("橡胶车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
